package org.tungse.service.impl;

import cn.hutool.core.collection.ListUtil;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;
import org.tungse.domian.User;
import org.tungse.service.UserService;

import java.util.List;

/**
 * @Author : Tungse
 * @Date: 2025/7/2 17:14
 * @Description:
 */
//@Service
@DubboService
public class UserServiceImpl implements UserService {

    @Override
    public List<User> gerUserList() {

        return ListUtil.of(new User(1,"张三","西安"), new User(1,"李四","上海"));
    }
}
